package com.aierkeji.call.cms.entity.vo;

import java.util.Date;
import java.util.List;

import com.aierkeji.call.cms.entity.contants.Gender;
import com.fasterxml.jackson.annotation.JsonFormat;

public class AkjCallUserVo {
	private Long id;
	private String name;
	private String account;
	private String userNo;
	private Gender gender;
	private Date birth;
	private String position;// 职位
	private String enterprise;// 企业
	private boolean isDelete = false;
	private Date updatedAt;
	private Date createdAt;
	private Long updatedBy;
	private String updatedName;
	private Long leaderId;// 审批人
	private String leaderName;// 审批人
	private Date approvedAt;// 审批时间
	private List<String> rolesNames;

	public AkjCallUserVo(Long id, String name, String account, String userNo, Gender gender, Date birth,
			String position, String enterprise, Date updatedAt, Date createdAt, Long updatedBy, String updatedName,
			Long leaderId, String leaderName, Date approvedAt,boolean isDelete) {
		super();
		this.id = id;
		this.name = name;
		this.account = account;
		this.userNo = userNo;
		this.gender = gender;
		this.birth = birth;
		this.position = position;
		this.enterprise = enterprise;
		this.updatedAt = updatedAt;
		this.createdAt = createdAt;
		this.updatedBy = updatedBy;
		this.updatedName = updatedName;
		this.leaderId = leaderId;
		this.leaderName = leaderName;
		this.approvedAt = approvedAt;
		this.isDelete = isDelete;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getUserNo() {
		return userNo;
	}

	public void setUserNo(String userNo) {
		this.userNo = userNo;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	public Date getBirth() {
		return birth;
	}

	public void setBirth(Date birth) {
		this.birth = birth;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getEnterprise() {
		return enterprise;
	}

	public void setEnterprise(String enterprise) {
		this.enterprise = enterprise;
	}

	public boolean isDelete() {
		return isDelete;
	}

	public void setDelete(boolean isDelete) {
		this.isDelete = isDelete;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")

	public Date getUpdatedAt() {
		return updatedAt;
	}

	public void setUpdatedAt(Date updatedAt) {
		this.updatedAt = updatedAt;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")

	public Date getCreatedAt() {
		return createdAt;
	}

	public void setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
	}

	public Gender getGender() {
		return gender;
	}

	public void setGender(Gender gender) {
		this.gender = gender;
	}

	public Long getUpdatedBy() {
		return updatedBy;
	}

	public void setUpdatedBy(Long updatedBy) {
		this.updatedBy = updatedBy;
	}

	public String getUpdatedName() {
		return updatedName;
	}

	public void setUpdatedName(String updatedName) {
		this.updatedName = updatedName;
	}

	public Long getLeaderId() {
		return leaderId;
	}

	public void setLeaderId(Long leaderId) {
		this.leaderId = leaderId;
	}

	public String getLeaderName() {
		return leaderName;
	}

	public void setLeaderName(String leaderName) {
		this.leaderName = leaderName;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	public Date getApprovedAt() {
		return approvedAt;
	}

	public void setApprovedAt(Date approvedAt) {
		this.approvedAt = approvedAt;
	}

	public List<String> getRolesNames() {
		return rolesNames;
	}

	public void setRolesNames(List<String> rolesNames) {
		this.rolesNames = rolesNames;
	}

}
